Skip to content

switch [sdl2]: cleanup SWITCHAUDIO_OpenDevice#112

Merged
WinterMute merged 1 commit intodevkitPro:switch-sdl-2.28from
pionere:swi_audo
Feb 1, 2026
Merged

switch [sdl2]: cleanup SWITCHAUDIO_OpenDevice#112
WinterMute merged 1 commit intodevkitPro:switch-sdl-2.28from
pionere:swi_audo

Conversation

@pionere
Copy link

@pionere pionere commented Aug 26, 2025

  • use calloc instead of malloc + SDL_zero
  • no need for the SDL_First/NextAudioFormat loop since there is only one supported audio-format (which is always in the list)

- use calloc instead of malloc + SDL_zero
- no need for the SDL_First/NextAudioFormat loop since there is only one supported audio-format (which is always in the list)
@pionere pionere changed the title switch: cleanup SWITCHAUDIO_OpenDevice switch [sdl2]: cleanup SWITCHAUDIO_OpenDevice Aug 26, 2025
@WinterMute WinterMute merged commit 0738d3c into devkitPro:switch-sdl-2.28 Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants